# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'prefs_dialog.ui'
#
# Created: Sun Oct 10 21:58:06 2010
#      by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_PreferencesDialog(object):
    def setupUi(self, PreferencesDialog):
        PreferencesDialog.setObjectName("PreferencesDialog")
        PreferencesDialog.resize(561, 413)
        self.verticalLayout_2 = QtGui.QVBoxLayout(PreferencesDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.tabWidget = QtGui.QTabWidget(PreferencesDialog)
        self.tabWidget.setObjectName("tabWidget")
        self.connectionSettingsTab = QtGui.QWidget()
        self.connectionSettingsTab.setObjectName("connectionSettingsTab")
        self.verticalLayout = QtGui.QVBoxLayout(self.connectionSettingsTab)
        self.verticalLayout.setObjectName("verticalLayout")
        self.radioButtonNoProxy = QtGui.QRadioButton(self.connectionSettingsTab)
        self.radioButtonNoProxy.setObjectName("radioButtonNoProxy")
        self.verticalLayout.addWidget(self.radioButtonNoProxy)
        self.radioButtonYesProxy = QtGui.QRadioButton(self.connectionSettingsTab)
        self.radioButtonYesProxy.setObjectName("radioButtonYesProxy")
        self.verticalLayout.addWidget(self.radioButtonYesProxy)
        self.frame = QtGui.QFrame(self.connectionSettingsTab)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.frame)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.widget = QtGui.QWidget(self.frame)
        self.widget.setObjectName("widget")
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(self.widget)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.proxySiteLineEdit = QtGui.QLineEdit(self.widget)
        self.proxySiteLineEdit.setObjectName("proxySiteLineEdit")
        self.horizontalLayout.addWidget(self.proxySiteLineEdit)
        self.verticalLayout_3.addWidget(self.widget)
        self.widget_2 = QtGui.QWidget(self.frame)
        self.widget_2.setObjectName("widget_2")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget_2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.widget_3 = QtGui.QWidget(self.widget_2)
        self.widget_3.setObjectName("widget_3")
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.widget_3)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.widget_6 = QtGui.QWidget(self.widget_3)
        self.widget_6.setObjectName("widget_6")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.widget_6)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtGui.QLabel(self.widget_6)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.proxySiteUsername = QtGui.QLineEdit(self.widget_6)
        self.proxySiteUsername.setObjectName("proxySiteUsername")
        self.horizontalLayout_3.addWidget(self.proxySiteUsername)
        self.verticalLayout_4.addWidget(self.widget_6)
        self.widget_5 = QtGui.QWidget(self.widget_3)
        self.widget_5.setObjectName("widget_5")
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.widget_5)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_3 = QtGui.QLabel(self.widget_5)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_4.addWidget(self.label_3)
        self.proxySitePwd = QtGui.QLineEdit(self.widget_5)
        self.proxySitePwd.setObjectName("proxySitePwd")
        self.horizontalLayout_4.addWidget(self.proxySitePwd)
        self.verticalLayout_4.addWidget(self.widget_5)
        self.horizontalLayout_2.addWidget(self.widget_3)
        self.widget_4 = QtGui.QWidget(self.widget_2)
        self.widget_4.setObjectName("widget_4")
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.widget_4)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.displCharactersCheckBox = QtGui.QCheckBox(self.widget_4)
        self.displCharactersCheckBox.setObjectName("displCharactersCheckBox")
        self.verticalLayout_5.addWidget(self.displCharactersCheckBox)
        self.horizontalLayout_2.addWidget(self.widget_4)
        self.verticalLayout_3.addWidget(self.widget_2)
        self.verticalLayout.addWidget(self.frame)
        self.tabWidget.addTab(self.connectionSettingsTab, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.tab_2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.widget_7 = QtGui.QWidget(self.tab_2)
        self.widget_7.setObjectName("widget_7")
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.widget_7)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.widget_8 = QtGui.QWidget(self.widget_7)
        self.widget_8.setObjectName("widget_8")
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.widget_8)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_5 = QtGui.QLabel(self.widget_8)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_5.addWidget(self.label_5)
        self.storageFolderLocation = QtGui.QLineEdit(self.widget_8)
        self.storageFolderLocation.setObjectName("storageFolderLocation")
        self.horizontalLayout_5.addWidget(self.storageFolderLocation)
        self.verticalLayout_7.addWidget(self.widget_8)
        self.widget_9 = QtGui.QWidget(self.widget_7)
        self.widget_9.setObjectName("widget_9")
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.widget_9)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.browseStorageFolder = QtGui.QPushButton(self.widget_9)
        self.browseStorageFolder.setObjectName("browseStorageFolder")
        self.verticalLayout_8.addWidget(self.browseStorageFolder)
        self.verticalLayout_7.addWidget(self.widget_9)
        self.verticalLayout_6.addWidget(self.widget_7)
        self.tabWidget.addTab(self.tab_2, "")
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.verticalLayout_10 = QtGui.QVBoxLayout(self.tab_3)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.widget_10 = QtGui.QWidget(self.tab_3)
        self.widget_10.setObjectName("widget_10")
        self.verticalLayout_12 = QtGui.QVBoxLayout(self.widget_10)
        self.verticalLayout_12.setObjectName("verticalLayout_12")
        self.savePdfsCheck = QtGui.QCheckBox(self.widget_10)
        self.savePdfsCheck.setObjectName("savePdfsCheck")
        self.verticalLayout_12.addWidget(self.savePdfsCheck)
        self.allowDblClckPdfs = QtGui.QCheckBox(self.widget_10)
        self.allowDblClckPdfs.setObjectName("allowDblClckPdfs")
        self.verticalLayout_12.addWidget(self.allowDblClckPdfs)
        self.verticalLayout_10.addWidget(self.widget_10)
        self.widget_11 = QtGui.QWidget(self.tab_3)
        self.widget_11.setObjectName("widget_11")
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.widget_11)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.groupBox_2 = QtGui.QGroupBox(self.widget_11)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_11 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.overwrtDuplicates = QtGui.QRadioButton(self.groupBox_2)
        self.overwrtDuplicates.setObjectName("overwrtDuplicates")
        self.verticalLayout_11.addWidget(self.overwrtDuplicates)
        self.markDuplicates = QtGui.QRadioButton(self.groupBox_2)
        self.markDuplicates.setObjectName("markDuplicates")
        self.verticalLayout_11.addWidget(self.markDuplicates)
        self.horizontalLayout_6.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(self.widget_11)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.tagFullPath = QtGui.QRadioButton(self.groupBox)
        self.tagFullPath.setObjectName("tagFullPath")
        self.verticalLayout_9.addWidget(self.tagFullPath)
        self.tagDir = QtGui.QRadioButton(self.groupBox)
        self.tagDir.setObjectName("tagDir")
        self.verticalLayout_9.addWidget(self.tagDir)
        self.tagNone = QtGui.QRadioButton(self.groupBox)
        self.tagNone.setObjectName("tagNone")
        self.verticalLayout_9.addWidget(self.tagNone)
        self.tagCustom = QtGui.QRadioButton(self.groupBox)
        self.tagCustom.setObjectName("tagCustom")
        self.verticalLayout_9.addWidget(self.tagCustom)
        self.tagCustomEdt = QtGui.QLineEdit(self.groupBox)
        self.tagCustomEdt.setObjectName("tagCustomEdt")
        self.verticalLayout_9.addWidget(self.tagCustomEdt)
        self.horizontalLayout_6.addWidget(self.groupBox)
        self.verticalLayout_10.addWidget(self.widget_11)
        self.tabWidget.addTab(self.tab_3, "")
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.widget_12 = QtGui.QWidget(PreferencesDialog)
        self.widget_12.setObjectName("widget_12")
        self.horizontalLayout_7 = QtGui.QHBoxLayout(self.widget_12)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.default_reset = QtGui.QPushButton(self.widget_12)
        self.default_reset.setObjectName("default_reset")
        self.horizontalLayout_7.addWidget(self.default_reset)
        self.buttonBox = QtGui.QDialogButtonBox(self.widget_12)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.horizontalLayout_7.addWidget(self.buttonBox)
        self.verticalLayout_2.addWidget(self.widget_12)

        self.retranslateUi(PreferencesDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), PreferencesDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), PreferencesDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PreferencesDialog)

    def retranslateUi(self, PreferencesDialog):
        PreferencesDialog.setWindowTitle(QtGui.QApplication.translate("PreferencesDialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButtonNoProxy.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">No</span> proxy necessary. Usually if you are within a university or library network.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButtonNoProxy.setText(QtGui.QApplication.translate("PreferencesDialog", "No proxy (Automatically detect)", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButtonYesProxy.setText(QtGui.QApplication.translate("PreferencesDialog", "Use proxy settings below", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("PreferencesDialog", "Proxy site", None, QtGui.QApplication.UnicodeUTF8))
        self.proxySiteLineEdit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Not the pac file location, but the actual proxy site.</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Usually has a \':\' and port number in the address</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">e.g. <span style=\" font-weight:600;\">proxy.lib.berkeley.edu:80</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("PreferencesDialog", "username", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("PreferencesDialog", "password", None, QtGui.QApplication.UnicodeUTF8))
        self.displCharactersCheckBox.setText(QtGui.QApplication.translate("PreferencesDialog", "Display characters", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.connectionSettingsTab), QtGui.QApplication.translate("PreferencesDialog", "Tab 1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("PreferencesDialog", "storage folder", None, QtGui.QApplication.UnicodeUTF8))
        self.storageFolderLocation.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Where all text and pdf files are stored. The default location will be removed during uninstallation. So, this needs to be changed.", None, QtGui.QApplication.UnicodeUTF8))
        self.browseStorageFolder.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("PreferencesDialog", "Tab 2", None, QtGui.QApplication.UnicodeUTF8))
        self.savePdfsCheck.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "If you have a lot of space and want to save the pdfs as well in your storage directory. Allows the option below.", None, QtGui.QApplication.UnicodeUTF8))
        self.savePdfsCheck.setText(QtGui.QApplication.translate("PreferencesDialog", "Save pdfs", None, QtGui.QApplication.UnicodeUTF8))
        self.allowDblClckPdfs.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "If pdfs are saved, then double clicking the record will open the pdf file using the default program. Else this option is ignored.", None, QtGui.QApplication.UnicodeUTF8))
        self.allowDblClckPdfs.setText(QtGui.QApplication.translate("PreferencesDialog", "Allow opening pdfs with double click", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("PreferencesDialog", "While indexing duplicate records should ", None, QtGui.QApplication.UnicodeUTF8))
        self.overwrtDuplicates.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Overwrites both the searchable text and the previously saved pdf file. So, if you have pdfs with annotations in your storage folder, this will be replaced with the new pdf.", None, QtGui.QApplication.UnicodeUTF8))
        self.overwrtDuplicates.setText(QtGui.QApplication.translate("PreferencesDialog", "be overwritten", None, QtGui.QApplication.UnicodeUTF8))
        self.markDuplicates.setText(QtGui.QApplication.translate("PreferencesDialog", "marked as duplicate", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("PreferencesDialog", "Indexing tag options", None, QtGui.QApplication.UnicodeUTF8))
        self.tagFullPath.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Tag indexed pdfs with the full path of the pdf e.g. C:\\Documents and Settings\\root\\Desktop\\sample.pdf", None, QtGui.QApplication.UnicodeUTF8))
        self.tagFullPath.setText(QtGui.QApplication.translate("PreferencesDialog", "Tag full path", None, QtGui.QApplication.UnicodeUTF8))
        self.tagDir.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Tag indexed pdfs with the name of the folder it is in e.g. \'Desktop\' if the path to the file is C:\\Documents and Settings\\root\\Desktop\\sample.pdf", None, QtGui.QApplication.UnicodeUTF8))
        self.tagDir.setText(QtGui.QApplication.translate("PreferencesDialog", "Tag directory", None, QtGui.QApplication.UnicodeUTF8))
        self.tagNone.setText(QtGui.QApplication.translate("PreferencesDialog", "No tag", None, QtGui.QApplication.UnicodeUTF8))
        self.tagCustom.setText(QtGui.QApplication.translate("PreferencesDialog", "Custom tag", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("PreferencesDialog", "Page", None, QtGui.QApplication.UnicodeUTF8))
        self.default_reset.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Original values. You can also edit the <span style=\" font-style:italic; color:#aa5500;\">CitationControl.conf</span> file manually.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.default_reset.setText(QtGui.QApplication.translate("PreferencesDialog", "Reset to defaults", None, QtGui.QApplication.UnicodeUTF8))

